/*import java.util.Arrays;
import java.util.Comparator;
import java.util.Objects;

*/

import com.sun.scenario.effect.impl.sw.java.JSWBlend_COLOR_BURNPeer;

import java.util.Scanner;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User:岁亮亮
 * Date:2024-01-06
 * TIME:13:32
 *//*
interface IA{
    void test();
}
class Agecompator implements Comparator <Animals>{
    @Override
    public int compare(Animals o1, Animals o2) {
        return o1.age -o2.age ;
    }
}
class Namecompator implements Comparator<Animals>  {
    @Override
    public int compare(Animals o1, Animals o2) {
        return o1.name .compareTo(o2.name) ;
    }
}
class Animals implements Comparable <Animals>,Cloneable {
    public String name;
    public int age;
    static int sui;

    @Override
    public int compareTo(Animals o) {
        return this.age-o.age;
    }

    @Override
    public String toString() {
        return "Animals{" +
                "name='" + name + '\'' +
                ", age=" + age +
                '}';
    }

    public Animals(String name, int age) {
        this.age = age;
        this.name =name;
    }
    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        Animals animals = (Animals) o;
        return age == animals.age && Objects.equals(name, animals.name);
    }

    @Override
    protected Object clone() throws CloneNotSupportedException {
        return super.clone();
    }


    @Override
    public int hashCode() {
        return Objects.hash(name, age);
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}*/
public class test {
    public static void main(String[] args) {

    }
    public static void main8(String[] args) {
        Integer a=100;
        Integer b=100;
        System.out.println(a==b);//true
        Integer a1=127;
        Integer b1=127;
        System.out.println(a1==b1);//true

        Integer a2=150;
        Integer b2=150;
        System.out.println(a2==b2);//false
    }

    public static boolean isValueChar(char c){
        if (c >= 0 && c <= 9 || c >= 'a' && c <= 'z') {
            return true;
        }
        else{
            return false;
        }
    }
    public static void main6(String[] args) {
        Scanner scanner = new Scanner(System.in);
        int i = 0;
        String str = scanner.nextLine();

        String ret = str.toLowerCase();
        int j = ret.length()-1;
        while (i < j) {
            while (i < j && !isValueChar(ret.charAt(i))) {
                i++;
            }
            while (i < j && !isValueChar(ret.charAt(j))) {
                j--;
            }
            if (ret.charAt(i) != ret.charAt(j)) {
                System.out.println("false");
            } else {
                i++;
                j--;
            }
        }
        System.out.println("true");
    }
    public static void main5(String[] args) {
        Scanner scanner=new Scanner(System.in);
        while(scanner.hasNextLine()){
            String str=scanner.nextLine();
           int ret=str.indexOf(" ");
           String str2=str.substring(ret+1);
            System.out.println(str2.length());
        }


    }
    public static void main4(String[] args) {
        int[] array=new int[26];
        Scanner scanner=new Scanner(System.in);
        String str= scanner.nextLine();
        for (int i = 0; i < str.length(); i++) {
            int count=1;
            int s=str.charAt(i);
            array[s-97]+=1;
        }
        for (int i = 0; i < str.length(); i++) {
            int s=str.charAt(i);
            if(array[s-97]==1){
                System.out.println(str.charAt(i));
                break;
            }
            }

    }
    public static void main3(String[] args) {//buffer比下面那个是有线程安全的
        String str="helllo";
        StringBuffer stringBuffer=new StringBuffer();
        stringBuffer.append(str);
        stringBuffer.append("abc");
        System.out.println(stringBuffer );
    }
    public static void main2(String[] args) {//main的汇编代码
        String str="hello";
        StringBuilder  stringBuilder=new StringBuilder();
        stringBuilder.append(str);
        stringBuilder .append("abc");
        System.out.println(stringBuilder );
    }
    public static void main1(String[] args) {//创建了多个临时变量  内容不可修改
        String str = "hello";
        str = str + "abc";
        System.out.println(str);
    }

}
   /* public static void main3(String[] args) {
       Animals animals=new Animals("sui",23);
       Animals[] animals1=new Animals[3];
       animals1[0]=new Animals("sui",11);
       animals1[1]=new Animals("dui",14);
       animals1[2]=new Animals("aui",12);
       Arrays.sort(animals1);
        for (Animals a:animals1) {
            System.out.println(a);
        }


    }*/
   /* public static void main2(String[] args)throws CloneNotSupportedException {

        Animals animals=new Animals("zhang",11);
        Animals animals2=new Animals("sui",18);
        System.out.println(animals);
        System.out.println(animals .equals(animals2));
        System.out.println(animals.compareTo(animals2 ) );
        Animals animals3=(Animals) animals .clone();
        System.out.println(animals3 );
        Agecompator agecompator=new Agecompator();
        System.out.println(agecompator.compare(animals ,animals2 ));
        Namecompator namecompator=new Namecompator();
        System.out.println(namecompator.compare(animals,animals2));
    }
    public static void main1(String[] args) {
        IA s=new IA(){
            @Override
            public void test(){
                System.out.println("hehe");
            }
        };
        s.test();
        new IA(){
            @Override
            public void test(){
                System.out.println("hehe");
            }
        }.test();
    }
}*/


























